package com.bjsxt.softrc.dao;

import java.util.List;

import com.bjsxt.softrc.po.Address;

public class AddressDaoImpl implements AddressDao {

	public List<Address> getChildAddress(int pid) {
		String sql = "select id,name from _address where pid=?";
		return DBUtil.getRowsFields(sql, new Object[]{pid}, Address.class);
	}

}